<?php


/**
 * Description of BaseException
 *
 */
class BaseException extends Exception {
    public function __construct($message = "", $code = 0, $previous = NULL) {
        
        if (version_compare(PHP_VERSION, '5.3.0', '>=')) {
            parent::__construct($message, $code, $previous);
        } else {
            parent::__construct($message, $code);
        }
    }

}

